Hurrytimer\IP_Detection S

Total Complexity 35
Dependencies 2
Dependents 1
Total lines 315
Lines of code 170
Logical lines of code 87
Comment lines 74
Methods 15
Properties 2

Methods 15

Method Rating Maintainability Complexity Lines of code
getCurrentUserResetToken()
S
53 5 23
getCurrentUserEndDate()
S
54 4 23
forget()
S
61 4 13
getCurrentUserEndDateLegacy()
S
59 3 15
forgetAll()
S
62 3 12
hasEntries()
S
62 3 12
create()
S
57 2 18
updateCurrentUserResetToken()
S
64 2 11
updateOrCreate()
S
69 2 7
maybeScheduleDestroy()
S
67 2 9
__construct()
S
69 1 6
fetchCurrentUserIpAddress()
S
81 1 3
update()
S
66 1 9
cleanup_idle_entries()
S
70 1 6
clearScheduledDestroy()
S
81 1 3